package com.mmx.service;

import com.mmx.domain.entity.FlowTask;

import java.util.List;

/**
 * @desc: 流程任务
 * @author: liushuai
 * @date: 2023/2/3 13:55
 */
public interface TaskService {

    /**
     * 批量新增审批任务
     * @param tasks
     * @Author: liushuai
     * @Date: 2023/2/16 15:50
     */
    void insertTaskBatch(List<FlowTask> tasks);


    /**
     * 根据任务Id查询任务
     * @param taskId
     * @return: com.mmx.domain.entity.FlowTask
     * @Author: liushuai
     * @Date: 2023/3/30 15:40
     */
    FlowTask selectTaskByTaskId(Long taskId);
}
